<?php

namespace App\Models;

class CookbookCollect extends Base
{
    protected $table = 'cookbook_collects';

    public function cookbook() {
        return $this->belongsToMany(Cookbook::class, 'cookbook_collect_relates', 'collect_id', 'cookbook_id');
    }

}
